<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>
<body>
  <div id="app">
    <ul>
      <li v-for="item in obj">{{item}}</li>
    </ul>
  </div>
  <script src="./vue.js"></script>
  <script>
    const vm = new Vue({
      el: '#app',
      data: {
        list: [1, 5, 8],
        obj: {
          uname: 'zs',
          age: 18
        }
      }
    })

    // vm.list[1] = 'q'
    // console.log( vm.list )

    // Vue.set(vm.list, 1, 'w')
    // vm.$set(vm.list, 1, 'c')

    // vm.obj.address = '济南'
    // Vue.set(vm.obj, 'address', '济南')

  </script>
</body>
</html>